<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS 过渡</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: '微软雅黑';
            background-color: #0da5d6;
        }

        p {
            text-align: center;
            font-size: 100px;
            color: #FFF;
        }

        p span {
            margin: 0 34px;
            opacity: 0.2;
            transition: all 1s;
        }

        p:hover span {
            font-size: 50px;
            margin: 0 5px;
            opacity: 1;
        }
    </style>
</head>
<body>
<p>
    <span>D</span><span>E</span><span>M</span><span>O</span>
    <span>展</span><span>示</span>
</p>
</body>
</html>